package com.boyue.entity.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * @auth wzy
 * @date 2023/9/8 15:32
 */
public class MenuVo {

    private Long id;
    private String title;
    private String icon;
    private Long type;
    private String href;

    private List<MenuVo> children = new ArrayList<MenuVo>();

    public MenuVo() {
    }

    public MenuVo(Long id, String title, String icon, Long type, String href) {
        this.id = id;
        this.title = title;
        this.icon = icon;
        this.type = type;
        this.href = href;
    }

    public List<MenuVo> getChildren() {
        return children;
    }

    public void setChildren(List<MenuVo> children) {
        this.children = children;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }
}
